package com.yunxi.service.impl;

import com.yunxi.entity.AccountInfo;
import com.yunxi.service.api.IAccountService;
import org.springframework.stereotype.Service;

import java.time.LocalDateTime;

@Service
public class AccountServiceImpl implements IAccountService {

    @Override
    public AccountInfo getAccountName(long accountId) {

        AccountInfo accountInfo = new AccountInfo();
        accountInfo.setId(accountId);
        accountInfo.setName("【云析学院】克比老师");
        accountInfo.setBalance(800);
        accountInfo.setCurDateTime(LocalDateTime.now());
        return accountInfo;

    }
}
